package com.leon.api.controller;


import org.springframework.http.ResponseEntity;

import java.util.Map;

public interface UserControllerApi {

    /**
     * 用户登录
     * @return
     */
    public ResponseEntity<String> login(Map<String,String> param);

    /**
     * 用户注册
     * @param param
     */
    public ResponseEntity<Object> register(Map<String,String> param);

    public Boolean getCode(Map<String,String> param);
}
